﻿using YourWorld.Common;
using LogInModule.Models;
using Microsoft.Practices.Composite.Regions;
using Microsoft.Practices.Unity;

namespace LogInModule.ViewModels
{
    public class LoginMainViewModel : ViewModelBase
    {
        private ILoginModel model;
        private IRegionManager regionManager;
        private IUnityContainer container;

        public LoginMainViewModel( ILoginModel model, IRegionManager regionManager, IUnityContainer container )
        {
            this.model = model;
            this.regionManager = regionManager;
            this.container = container;

        }
        //Here should come the logic about registration
        // 1. if you're new user
        // 2. if you're existing user
        // 3. registration
    }
}
